package com.chenzhou.product_sys.service;

import com.chenzhou.product_sys.dao.impl.UserDAOImpl;
import com.chenzhou.product_sys.entity.UserEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserDAOImpl dao ;

    public UserEntity queryUserByUnameAndPwd(String uname,String pwd){
        return dao.queryUserByUnameAndPwd(uname,pwd);
    }
}
